package exsun.jt808.data.upload_data.jsatl12;

/**
 * 驾驶员状态监测系统报警
 */
public class DriverStatusAlarm {
    /**
     * 报警ID
     */
    private int alarmId;
    /**
     * 标志状态
     * 0x00：不可用
     * 0x01：开始标志
     * 0x02：结束标志
     * 该字段仅适用于有开始和结束标志类型的报警或事件，报警类型或事件类型无开始和结束标志，则该位不可用
     */
    private int alarmStatus;
    /**
     * 报警/事件类型
     */
    private int alarmType;
    /**
     * 报警级别
     * 1：一级报警
     * 2：二级报警
     */
    private int alarmLevel;
    /**
     * 疲劳程度
     * 范围1~10。数值越大表示疲劳程度越严重，仅在报警类型为疲劳驾驶报警时有效
     */
    private int fatigueLevel;
    /**
     * 报警标识号
     */
    private String alarmSign;
    /**
     * 终端ID
     */
    private String terminalId;
    /**
     * 序号
     * 同一时间点报警的序号，从0循环累加
     */
    private int alarmSerialNo;
    /**
     * 附件数量
     */
    private int attachmentCount;

    /**
     * 报警编号，平台给报警分配的唯一编号
     */
    private String alarmCode;

    public int getAlarmId() {
        return alarmId;
    }

    public void setAlarmId(int alarmId) {
        this.alarmId = alarmId;
    }

    public int getAlarmStatus() {
        return alarmStatus;
    }

    public void setAlarmStatus(int alarmStatus) {
        this.alarmStatus = alarmStatus;
    }

    public int getAlarmType() {
        return alarmType;
    }

    public void setAlarmType(int alarmType) {
        this.alarmType = alarmType;
    }

    public int getAlarmLevel() {
        return alarmLevel;
    }

    public void setAlarmLevel(int alarmLevel) {
        this.alarmLevel = alarmLevel;
    }

    public int getFatigueLevel() {
        return fatigueLevel;
    }

    public void setFatigueLevel(int fatigueLevel) {
        this.fatigueLevel = fatigueLevel;
    }

    public String getAlarmSign() {
        return alarmSign;
    }

    public void setAlarmSign(String alarmSign) {
        this.alarmSign = alarmSign;
    }

    public String getTerminalId() {
        return terminalId;
    }

    public void setTerminalId(String terminalId) {
        this.terminalId = terminalId;
    }

    public int getAlarmSerialNo() {
        return alarmSerialNo;
    }

    public void setAlarmSerialNo(int alarmSerialNo) {
        this.alarmSerialNo = alarmSerialNo;
    }

    public int getAttachmentCount() {
        return attachmentCount;
    }

    public void setAttachmentCount(int attachmentCount) {
        this.attachmentCount = attachmentCount;
    }

    public String getAlarmCode() {
        return alarmCode;
    }

    public void setAlarmCode(String alarmCode) {
        this.alarmCode = alarmCode;
    }
}
